<include file="Public:top" /> 
<script>
$(function() {
    $( "#datepicker" ).datepicker({dateFormat: "yy-mm-dd"});	
    $( "#sub_tabs" ).tabs();  
});	
$(function() {
    $( "#datepicker1" ).datepicker({dateFormat: "yy-mm-dd"});	
    $( "#sub_tabs" ).tabs();  
});
</script>       
	</head>
  
	<body >
    
    <div id="body-wrapper" > <!-- Wrapper for the radial gradient background -->		

        <!--left start-->
		
        <include file="Public:left" /> 
        <!--left end-->
        
        
        <!-- End #sidebar -->			
		<div id="main-content"> <!-- Main Content Section with everything -->
        <div  id="header_logo">{:C("SITE_INFO.name")}</div>	 		
			
			<!-- Page Head -->
			<div style="float:left; width:380px;">
			  <h2>商品列表  </h2></div>
			  <div id="sreach" style="width:1030px;">
            <form name="sreach" method="get" action="{:U('index')}">
             <a class="button" href="{:U('Other/ToExcel')}?begintime={$begintime}&endtime={$endtime}&citycode={$citycode}&area_id={$area_id}&keyword={$keyword}" >导出数据</a>
            	  {:W('Shiqu',array('now_city_id'=>$citycode,'now_prov_id'=>$provcode,'now_area_id'=>$area_id))}
              搜索时间段<input type="text" id="datepicker" class="text-input " value="{$begintime}"  name="begintime"/>-<input type="text" class="text-input " value="{$endtime}"  id="datepicker1" name="endtime" />&nbsp;
              <input type="text" value="{$keyword}" style="width:150px;" class="text-input " id="keyword" name="keyword" placeholder="名称、描述">
              <strong><a onClick="document.sreach.submit(); return false;" href="#">Search</a></strong>
            </form>
            </div>
            
			<div class="clear"></div> <!-- End .clear -->
            {$msg}
               <div class="content-box"><!-- Start Content Box -->                  
                  <div class="content-box-header">  
                      <span class="insert" style="display:none; float:right; line-height:40px; font-size:14px; font-weight:bold;"> 
                      
                      <a href="{:U('detail')}">+ insert </a>&nbsp; &nbsp; </span>
                    <div class="clear"></div>                      
                  </div> <!-- End .content-box-header -->
                  
                  <div class="content-box-content">
                      <div class="tab-content default-tab" id="tab1">                       
                      <!-- This is the target div. id must match the href of this div's tab -->	
                      
                          
                          <table id="list">
                            <thead>
                              <tr >		   
                                  <th>ID{:createUpDownLink('other_id')}</th>
                                  <th>名称{:createUpDownLink('name')}</th>   
                                  <th  >电话</th>                             
                                  <th  >城市</th>
                                  <th  >分区</th>
                                  <th  >衣服(件)</th>
                                  <th  >书籍(件)</th>
                                  <th  >其他(件)</th>
                                  <th>发布日期{:createUpDownLink('add_date')}</th> 
                                <!--   <th>图片</th>   -->   	                                                                                                        
                                  <th  width="200" style="text-align:center"></th>									   						 
                              </tr>								
                            </thead> 
                            
                   
                
                            <tbody>                              
                            <volist name="infoList" id="vo" mod="2" >


                            	<tr align="center" <eq name="mod" value="1">class="alt-row"</eq>>
                                	<td align="left" class="first-cell" >
                                      {$vo.other_id}
                                      </td>
                                      <td align="left">
                                      {$vo.name}
                                      </td>
                                      <td align="left">
                                      {$vo.tel}
                                      </td>
                                      <td align="center" class="status" id="{$vo.products_id}">
                                     	{$vo.cname}
                                      </td>
                                      <td align="center" class="status" id="{$vo.products_id}">
                                     	{$vo.aname}
                                      </td>
                                      <td align="center" class="status" id="{$vo.products_id}">
                                     	{$vo.clothes_num}
                                      </td>
                                      <td align="center" class="status" id="{$vo.products_id}">
                                     	{$vo.book_num}
                                      </td>
                                      <td align="center" class="status" id="{$vo.products_id}">
                                     	{$vo.othercount}
                                      </td>
                                      <td align="center">
                                      		{$vo.add_date}
                                      </td>
                                     <!--  <td align="center">
                                      		<img src="__PUBLIC__/images/products/thumb/s_{$vo.image}" />
                                      </td> -->
                                      <td align="center" >   
                                      <!--  <a href="{:U('detail',array('id'=>$vo['other_id']))}" title="Edit">查看</a> &nbsp; &nbsp;     -->                          
                                      <a href="{:U('delete',array('id'=>$vo['other_id']))}"  onClick="return confirm('Delete this products?')"  title="Delete">Delete</a> 
                                      </td>
                                    </tr> 
                                            
                              </volist>
                            </tbody>
                          </table>
                          <div class="pagination">{$page}<div style=" clear:both;"></div></div>						
                      </div> <!-- End #tab1 -->	
                                       
                      
                  </div> <!-- End .content-box-content -->
                  
              </div> <!-- End .content-box -->
             
			
			
			<div class="clear"></div>
			
			
			<!-- Start Notifications -->
			
			

			
			<!-- End Notifications -->
			
            <div id="footer">
				<small> <!-- Remove this notice or replace it with whatever you want -->
						&#169; Copyright 2013
				</small>
			</div>
			
			
			
			<!-- End #footer -->
			
		</div> <!-- End #main-content -->
		
	</div>
	</body>
<!-- Download From www.exet.tk-->
</html>